/*
 * TODO: Enter copyright statement here.
 */
package com.googlecode.wcbunittests.helloworld.api;

import nl.gx.webmanager.cms.element.Element;

import java.util.Calendar;

/**
 * Interface for the HelloWorld element.
 * TODO: enter proper javadoc for this interface. Since this interface is in the API
 * of your WCB it is very important to provide proper javadoc.
 */
public interface HelloWorldElement extends Element {
    /**
     * Returns the date of the element. The date is always in the past.
     * @return the date of the element, date is always in the past
     */
    Calendar getDate();

    /**
     * Sets the date of the element. The date is always in the past.
     * @param date the date to set on the element, date is always in the past
     */
    void setDate(Calendar date);
}
